Yes you can connect both heaters in parallel to a Duet extruder heater output if the total current is 5A.
Alternatively, if your printer doesn't use a heated bed or the bed is controlled by an SSR, you could connect the extruder heaters to the bed heater output. PanelDue won't give the right indications if you do that, but Duet web Control will.